package com.mini.repository;

import com.mini.model.BusinessChanceConvertRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shixiaopeng  on 2020/12/7
 */
@Repository
public interface BusinessChanceConvertRecordRepository extends JpaRepository<BusinessChanceConvertRecord, Long>{

    List<BusinessChanceConvertRecord> findAllByChanceIdOrderByCreateTimeDesc(Long chanceId);
}
